<cfcomponent displayname="DataManipulatorGateway">

	<cffunction name="deleteDouble" access="remote" returntype="any" output="true">
		<cfset query = "" />

		<cfquery name="query" datasource="tidtool">
			DELETE FROM
				NamedDouble_Person
			WHERE
				ID = <cfqueryparam cfsqltype="cf_sql_integer" value="#doubleID#" />
		</cfquery>
		wird gel&ouml;scht...
		<form name="form" method="post" action="index.cfm">
			<input type="hidden" name="contentPage" value="namedForm.cfm" />
			<input type="hidden" name="message" value="Ausgew&auml;lter Named wird nun nicht mehr als 'doppelt' aufgef&uuml;hrt." />
		</form>
		<script type="text/javascript">
			function submitForm() {
			  document.form.submit();
			}
			window.setTimeout("submitForm()", 60);
		</script>

	</cffunction>

	<cffunction name="deleteMissing" access="remote" returntype="any" output="true">
		<cfset query = "" />

		<cfquery name="query" datasource="tidtool">
			DELETE FROM
				Named_Person
			WHERE
				ID = <cfqueryparam cfsqltype="cf_sql_integer" value="#missingID#" />
		</cfquery>
		wird gel&ouml;scht...
		<form name="form" method="post" action="index.cfm">
			<input type="hidden" name="contentPage" value="namedForm.cfm" />
			<input type="hidden" name="message" value="Ausgew&auml;lter Named wird nun nicht mehr als 'doppelt' aufgef&uuml;hrt." />
		</form>
		<script type="text/javascript">
			function submitForm() {
			  document.form.submit();
			}
			window.setTimeout("submitForm()", 60);
		</script>

	</cffunction>

</cfcomponent>

<!--- <cfparam name="deleteDouble" type="boolean" default="false" />
<cfparam name="deleteMissing" type="boolean" default="false" />
<cfparam name="form.userID" type="numeric" default="#userID#" />
<cfif deleteDouble>
	<cfquery name="deleteDouble" datasource="tidtool">
		DELETE FROM
			NamedDouble_Person
		WHERE
			ID = #doubleID#
	</cfquery>
	<cflocation url="index.cfm?contentPage=named.cfm&userID=#form.userID#" addtoken="false" />
</cfif>
<cfif deleteMissing>
	<cfquery name="deleteMissing" datasource="tidtool">
		DELETE FROM
			Named_Person
		WHERE
			ID = #missingID#
	</cfquery>
	<cflocation url="index.cfm?contentPage=named.cfm&userID=#form.userID#" addtoken="false" />
</cfif> --->